<?php

//喜马拉雅fm

//喜马拉雅获得签名值signature,请求类型 POST
Route::post('yefm/jssdk_sig', 'Yefm\YefmController@jssdk_sig');

//夜读书fm首页(专辑列表 /v2/albums/list)
Route::get('yefm', 'Yefm\YefmController@yefm');
//喜马拉雅全部分类
Route::get('yefm/category', 'Yefm\YefmController@category');
//专辑浏览 /albums/browse
Route::get('yefm/ting/{album_id}', 'Yefm\YefmController@albums_browse');
//收听音频
Route::get('yefm/ting/{album_id}/{tracks_id}', 'Yefm\YefmController@tracks');
//对应分类里专辑里列表
route::get('yefm/category/{id}', 'Yefm\YefmController@category_list');
//搜索页面
Route::get('yefm/search', 'Yefm\YefmController@search');
//搜索内容显示
Route::get('yefm/searchkey', 'Yefm\YefmController@searchkey');
//搜索专辑内容
Route::get('yefm/search/album/{search_key}', 'Yefm\YefmController@search_album');
//搜索声音内容
Route::get('yefm/search/sound/{search_key}', 'Yefm\YefmController@search_sound');








///////
//喜马拉雅代码测试
Route::get('yefm/test', 'Yefm\YefmController@test');
Route::get('yefm/test1', 'Yefm\YefmController@test1');